<div id="headerContent">
	<a id="logo" href="<?php echo url_create('site','home')?>">&nbsp;</a>
	<ul id="menuBar">
		<li<?php echo isset($new) ? ' class="selected"' : '' ?>><a href="<?php echo url_create('site', 'home', 'index') ?>"><?php echo lang('new_image') ?></a></li>
<!--		<li<?php echo isset($text_image) ? ' class="selected"' : '' ?>><a href="<?php echo url_create('site', 'home', 'text') ?>"><?php echo lang('text_image') ?></a></li>-->
		<li<?php echo isset($new_video) ? ' class="selected"' : '' ?>><a href="<?php echo url_create('site', 'home', 'video') ?>"><?php echo lang('new_video') ?></a></li>
		<li<?php echo isset($hot) ? ' class="selected"' : '' ?>><a href="<?php echo url_create('site', 'home', 'hot') ?>"><?php echo lang('hot_image') ?></a></li>
<!--		<li<?php echo isset($old) ? ' class="selected"' : '' ?>><a href="<?php echo url_create('site', 'home', 'old') ?>"><?php echo lang('old_image') ?></a></li>-->
		<li<?php echo isset($vote) ? ' class="selected"' : '' ?>><a href="<?php echo url_create('site', 'home', 'vote') ?>"><?php echo lang('vote_image') ?></a></li>
		<li<?php echo isset($upload) ? ' class="selected"' : '' ?>><a href="<?php echo url_create('site', 'upload') ?>" class="upload"><?php echo lang('upload_image') ?></a></li>
		<li<?php echo isset($upload_video) ? ' class="selected"' : '' ?>><a href="<?php echo url_create('site', 'upload', 'video') ?>" class="upload"><?php echo lang('upload_video') ?></a></li>

	</ul>
	<div id="loginPanel">
		<?php if ($isLogin) { ?>
			<a href="<?php echo url_create('site', 'account', 'images', $user->id) ?>" class="profileButton">
				<img src="<?php echo fb_avatar($user->fb_id) ?>" style="width: 23px;vertical-align: middle" />
				<span><?php echo $user->fullname ?></span>
			</a>
			<div class="jewelBeeperHeader"><div class="beeperNubWrapper"><div class="beeperNub"></div></div></div>
			<ul>
				<li><a href="<?php echo url_create('site', 'account', 'images', $user->id) ?>"><?php echo lang('user_images') ?></a></li>
				<!--li><a href="javascript:;">Thông báo </a></li-->
				<li><a href="http://www.facebook.com/profile.php?id=<?php echo $user->fb_id?>&sk=info"><?php echo lang('user_info') ?></a></li>
				<!--<li><a href="javascript:;"><?php echo lang('change_password') ?></a></li>-->
				<?php if($isAdmin){?><li><a href="<?php echo url_create('admin', 'dashboard') ?>"><?php echo lang('dashboard') ?></a></li><?php }?>
				<li><a href="<?php echo url_create('site', 'account', 'fb_logout') ?>"><?php echo lang('logout') ?></a></li>
			</ul>
		<?php } else { ?>
			<a href="<?php echo url_create('site', 'account', 'fb_login') ?>" class="loginButton" style="margin: 8px"><?php echo lang('login') ?></a>
		<?php } ?>
	</div>
	<div class="clear">
	</div>
</div>